﻿@model VehicleManagement.Models.FinanManInfo

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Create</h2>


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>财务人员信息</legend>
        
               <div class="editor-label">
            @Html.LabelFor(model => model.finaManagerNumber)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.finaManagerNumber)
            @Html.ValidationMessageFor(model => model.finaManagerNumber)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FinanManName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FinanManName)
            @Html.ValidationMessageFor(model => model.FinanManName)
        </div>

            <div class="editor-label">
            @Html.LabelFor(model => model.FinanMan_password)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FinanMan_password)
            @Html.ValidationMessageFor(model => model.FinanMan_password)
        </div>

            <div class="editor-label">
            @Html.LabelFor(model => model.Passw_ques)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Passw_ques)
            @Html.ValidationMessageFor(model => model.Passw_ques)
        </div>

            <div class="editor-label">
            @Html.LabelFor(model => model.Passw_answer)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Passw_answer)
            @Html.ValidationMessageFor(model => model.Passw_answer)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FinanManImage)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FinanManImage)
            @Html.ValidationMessageFor(model => model.FinanManImage)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
            @Html.ValidationMessageFor(model => model.Email)
        </div>


               <div class="temporarylogincn">
        	<div class="editor-label">
            @Html.LabelFor(model => model.Sex):
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.Sex , new SelectList(new[] { "男", "女" }, "男"))
            @Html.ValidationMessageFor(model => model.Sex)
        </div>
        <div class="clear"></div>
        </div>


        <div class="editor-label">
            @Html.LabelFor(model => model.Telephone)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Telephone)
            @Html.ValidationMessageFor(model => model.Telephone)
        </div>

@*        <div class="editor-label">
            @Html.LabelFor(model => model.FamilyAddress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FamilyAddress)
            @Html.ValidationMessageFor(model => model.FamilyAddress)
        </div>*@

        <div class="editor-label">
            @Html.LabelFor(model => model.Remark)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Remark)
            @Html.ValidationMessageFor(model => model.Remark)
        </div>

        <p>
            <input type="submit" value="添加" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("返回", "Index")
</div>
